package cn.j0n4than.accountingtool.pojo.request;

import javax.validation.constraints.Email;
import javax.validation.constraints.NotEmpty;

/**
 * 用户注册请求体
 *
 * @author jonathan
 */
public class UserRegRequest {

    @NotEmpty(message = "用户名不能为空")
    public String username;

    @NotEmpty(message = "密码不能为空")
    public String password;

    @NotEmpty(message = "确认密码不能为空")
    public String conPassword;

    @Email(message = "电子邮箱格式不正确")
    public String email;
}
